/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconTanhao: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M508.8 44.8C252.8 44.8 44.8 252.8 44.8 508.8s208 464 464 464 464-208 464-464S764.8 44.8 508.8 44.8z m0 880c-230.4 0-416-185.6-416-416s185.6-416 416-416 416 185.6 416 416-185.6 416-416 416z m12.8-272c12.8 0 22.4-9.6 22.4-22.4v-428.8c0-12.8-9.6-22.4-22.4-22.4-12.8 0-22.4 9.6-22.4 22.4v428.8c-3.2 9.6 9.6 22.4 22.4 22.4z m-35.2 96a35.2 35.2 0 1 0 70.4 0 35.2 35.2 0 0 0-70.4 0z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconTanhao.defaultProps = {
  size: 22,
};

export default IconTanhao;
